
import pymysql

conn = pymysql.connect(
    '172.16.100.71',
    'testiov','Qndsa3jf3w',
    'molichuxing_v3')
cursor = conn.cursor()
data = cursor.execute('''
select * from cars_car;
''')
print(data)